<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/static/admin/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/static/admin/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="/static/admin/css/amazeui.min.css" />
    <link rel="stylesheet" href="/static/admin/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/static/admin/css/app.css">
    <script src="/static/admin/js/jquery.min.js"></script>
    {load href="/static/index/css/bootstrap.min.css"}
    {css href="/static/index/reset.css"}
    {css href="/static/index/css/toastr.min.css"}

</head>

<body data-type="widgets">
    <script src="/static/admin/js/theme.js"></script>
    <div class="am-g tpl-g">
        <!-- 头部导航栏 -->
        {include file="public/header" /}
        <!-- 侧边导航栏 -->
        {include file="public/left" /}

        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">
            <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf">修改用户</div>


                            </div>
                            <div class="widget-body  am-fr">
                                <div class="row">
                                    <div class="col-md-2"></div>
                                    <div class="col-md-6">
                                        
                                        <form action="/adminUserDoedit/{$data.id}" method="post">
                                        <form enctype="multipart/form-data" action="adminUserDoedit" method="post">
                                            <div class="form-group">
                                                <label for="exampleInputEmail1">昵称</label>
                                                <input name="name" type="text" class="form-control" id="exampleInputEmail1" value="{$data.name}">
                                            </div>
                                            <div class="form-group">
                                                <label for="exampleInputPassword1">用户名</label>
                                                <input name="username" type="text" class="form-control" id="exampleInputPassword1" value="{$data.username}">
                                            </div>
                                             <div class="form-group">
                                                <label for="exampleInputPassword1">邮箱</label>
                                                <input name="email" type="email" class="form-control" id="exampleInputPassword1" value="{$data.email}">
                                            </div>
                                            <div class="form-group">
                                                <label for="exampleInputFile">性别</label>
                                                <input type="radio" name="sex" value="1" {if $data.sex == '1'}checked{/if}/> 男
                                                <input type="radio" name="sex" value="0" {if $data.sex == '0'}checked{/if}/> 女
                                            </div>
                                            <div class="form-group">
                                                <label for="exampleInputPassword1">请选择角色:</label>
                                                <select name="role">
                                                    {volist name="$rolelist" id="vo"}
                                                    <option value="{$vo.id}"{if $vo.id == $list['role_id']}selected{/if}>{$vo.role}</option>
                                                    {/volist}
                                                </select>
                                            </div>
                                            <button type="submit" class="btn btn-success">确认提交</button>
                                        </form>
                                        
                                    </div>
                                    <div class="col-md-4"></div>
                                </div>
                            </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
    <script src="/static/admin/js/amazeui.min.js"></script>
    <script src="/static/admin/js/app.js"></script>

</body>

</html>